package cn.vic.config;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * 生成页面相关配置
 */
public class GenertorConfig {
    protected String basePackage;
    protected String templatePath;
    protected String outputPath;
    protected String modular;
    protected String customParam;
    protected Date createTime;
    protected boolean cover;


    public String getBasePackage() {
        return basePackage;
    }

    public void setBasePackage(String basePackage) {
        this.basePackage = basePackage;
    }

    public String getTemplatePath() {
        return templatePath;
    }

    public void setTemplatePath(String templatePath) {
        this.templatePath = templatePath;
    }

    public String getOutputPath() {
        return outputPath;
    }

    public void setOutputPath(String outputPath) {
        this.outputPath = outputPath;
    }

    public String getModular() {
        return modular;
    }

    public void setModular(String modular) {
        this.modular = modular;
    }

    public String getCustomParam() {
        return customParam;
    }

    public void setCustomParam(String customParam) {
        this.customParam = customParam;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public boolean isCover() {
        return cover;
    }

    public void setCover(boolean cover) {
        this.cover = cover;
    }

    public String toString(){
        return  new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.createTime);
    }


}
